home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
300 Great Games for Mac
/
300 games for mac.iso
/
Trivia
/
President Quiz
/
president quiz
/
background_2697.txt
< prev
next >
Wrap
Text File
|
1990-04-02
|
8KB
|
374 lines
-- background: 2697 from stack: in
-- bmap block id: 6112
-- flags: 0000
-- background id: 0
-- name:
-- part 1 (field)
-- low flags: 00
-- high flags: 2002
-- rect: left=31 top=18 right=87 bottom=498
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 14
-- style flags: 256
-- line height: 18
-- part name:
-- part 2 (field)
-- low flags: 00
-- high flags: 2000
-- rect: left=86 top=104 right=145 bottom=495
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 3 (field)
-- low flags: 00
-- high flags: 2000
-- rect: left=86 top=148 right=188 bottom=495
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 4 (field)
-- low flags: 00
-- high flags: 2000
-- rect: left=86 top=191 right=231 bottom=495
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 20 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=352 top=293 right=338 bottom=407
-- title width / last selected line: 0
-- icon id / first selected line: 5472 / 5472
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Begin again.
----- HyperTalk script -----
on mouseUp
set hilite of bg button id 12 to false
set hilite of bg button id 15 to false
set hilite of bg button id 16 to false
visual scroll right
go to first card
end mouseUp
-- part 5 (field)
-- low flags: 00
-- high flags: 2000
-- rect: left=14 top=315 right=334 bottom=267
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 256
-- line height: 13
-- part name: credits
-- part 6 (field)
-- low flags: 00
-- high flags: 2000
-- rect: left=86 top=252 right=287 bottom=265
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: score
-- part 10 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=352 top=243 right=294 bottom=475
-- title width / last selected line: 0
-- icon id / first selected line: 2507 / 2507
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: More about this President
----- HyperTalk script -----
on mouseUp
global presName
push this card
visual iris open
go to card presName
if the result is not empty
then
answer "This biography has not been written yet."
end if
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=408 top=293 right=338 bottom=463
-- title width / last selected line: 0
-- icon id / first selected line: 27009 / 27009
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Next card.
----- HyperTalk script -----
on mouseUp
set hilite of bg button id 12 to false
set hilite of bg button id 15 to false
set hilite of bg button id 16 to false
visual scroll left
go to next card
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=462 top=296 right=329 bottom=499
-- title width / last selected line: 0
-- icon id / first selected line: 19727 / 19727
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
set hilite of bg button id 12 to false
set hilite of bg button id 15 to false
set hilite of bg button id 16 to false
doMenu "Quit HyperCard"
end mouseUp
-- part 11 (field)
-- low flags: 80
-- high flags: 2004
-- rect: left=136 top=113 right=223 bottom=413
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 24
-- style flags: 0
-- line height: 32
-- part name: Response
-- part 12 (button)
-- low flags: 00
-- high flags: 2006
-- rect: left=49 top=105 right=137 bottom=433
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 1
----- HyperTalk script -----
on mouseUp
global thisAnswer
put 1 into thisAnswer
doScore
end mouseUp
-- part 15 (button)
-- low flags: 00
-- high flags: 2006
-- rect: left=48 top=150 right=181 bottom=433
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 2
----- HyperTalk script -----
on mouseUp
global thisAnswer
put 2 into thisAnswer
doScore
end mouseUp
-- part 16 (button)
-- low flags: 00
-- high flags: 2006
-- rect: left=49 top=194 right=225 bottom=431
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 3
----- HyperTalk script -----
on mouseUp
global thisAnswer
put 3 into thisAnswer
doScore
end mouseUp
-- part 17 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=11 top=299 right=332 bottom=86
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Set data.
----- HyperTalk script -----
on mouseUp
global presName, dataSet
if dataSet is true
then
answer "It's already set."
else
put true into dataSet
get the script of this card
put it into tempScript
ask "Name the President."
put it into presName
put quote & it & quote into word 2 of line 3 of TempScript
ask "Which is the correct answer?"
put it into word 2 of line 4 of TempScript
put "true" into word 2 of line 6 of tempScript
set the script of this card to tempScript
ask "What is your name?"
put "This question is by" && it & "." after bg field "credits"
answer "Do you want to write the bio now" with "Yes" or "No"
if it is "yes"
then
lock screen
push this card
go to card presName
if the result is empty
then
pop card
unlock screen
answer "It's already done."
else
go to last card of background id 3615
doMenu New Card
put presName into bg field "name"
set name of this card to presName
unlock screen
tabKey
tabKey
end if
end if
end if
end mouseUp
-- part 18 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=95 top=299 right=332 bottom=190
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Back to Start
----- HyperTalk script -----
on mouseUp
go to card id 5160
end mouseUp
-- part 19 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=197 top=299 right=334 bottom=277
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Write bio...
----- HyperTalk script -----
on mouseUp
global presName
lock screen
push this card
go to card presName
if the result is empty
then
pop card
unlock screen
answer "It's already done."
else
go to last card of background id 3615
doMenu New Card
put presName into bg field "name"
set name of this card to presName
unlock screen
tabKey
tabkey
end if
end mouseUp